home *** CD-ROM | disk | FTP | other *** search
- # charsheet:stats 1.12
- #
- # Copyright 1991, Chris Seabrook
- #
- # This work may be freely used. modified and distributed for non-commercial
- # purposes so long as it retains this notice.
- #
- # stats(Str, Int, Wis, Dex, Con, Cha)
- # stats1(AC, HP, Reaction, Doors, Bars, Handed, Sex)
- # stats2(Spell, Weapons, Non-Weapons, Age, Birthday, Next Change, Height, Weight)
- .PS
- define statsentry X
- box wid sheetwid/13 "$2"
- box invis wid sheetwid/13 ht boxht/2 "\f(HB\s-2$1\s0\fP" with .sw at last box.nw
- box invis wid sheetwid/13 with .sw at 2nd last box.se
- X
- define detailentry X
- box wid 8*sheetwid/100 with .sw at last box.se
- box invis wid 8*sheetwid/100 ht boxht "\f(HB\s-2$1\s0\fP" \
- "\f(HB\s-2$2\s0\fP" with .sw at last box.nw
- box invis wid 4*sheetwid/100 with .sw at 2nd last box.se
- X
- define stats1 X
- [
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$1"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$2"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$3"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$4"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$5%"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$6"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$7"
- ] with .sw at Stats.sw + (0,2*boxht+border)
- X
- define stats2 X
- [
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$1"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$2"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$3"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$4"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$5"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$6"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$7"
- box invis wid 4*sheetwid/100
- box invis wid 8*sheetwid/100 "$8#"
- ] with .sw at Stats.sw
- X
- define stats X
- strength=$1
- Stats: [
- box invis wid sheetwid/13
- if $1 == 0 then Y
- statsentry(Strength,)
- Y else Y
- statsentry(Strength, $1)
- Y
- statsentry(Intelligence, $2)
- statsentry(Wisdom, $3)
- statsentry(Dexterity, $4)
- statsentry(Constitution, $5)
- statsentry(Charisma, $6)
- box invis wid 4*sheetwid/100 ht with .nw at 1st box.sw - (0,2*boxht+border)
- detailentry(Armour,Class)
- detailentry(Hit,Points)
- detailentry(Reaction,Bonus)
- detailentry(Open,Doors)
- detailentry(Bend,Bars)
- detailentry(,Handedness )
- detailentry(,Sex)
- detailentry(,)
- box invis wid 4*sheetwid/100 ht with .nw at 25th last box.sw - (0,2*boxht+border)
- detailentry(Spell,Points)
- detailentry(Weapon,Proficiencies)
- detailentry(Non-Weapon,Proficiencies)
- detailentry(,Age)
- detailentry(,Birthday)
- detailentry(Next Age-,Bracket Change)
- detailentry(,Height)
- detailentry(,Weight)
- ] with .n at last box.s + 0,-1*border
- box ht last [].ht+border wid last [].wid+border at last []
- X
- .PE
-